home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x64.msi / Data1.cab / _6B162475148F41D498D7F95FF3E1C471 < prev    next >
Extensible Markup Language  |  2008-06-28  |  4KB  |  129 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet 
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   version="1.0">
  7.  
  8. <xsl:output 
  9.   method="html" 
  10.   version="4.0" 
  11.   encoding="UTF-8" 
  12.   omit-xml-declaration="yes" 
  13.   indent="yes"/>
  14.  
  15. <xsl:include href="./resource/html/propcell.xsl"/>
  16.  
  17. <xsl:template match="/Root">
  18.  
  19. <html>
  20.   <table>
  21.     <tr>
  22.       <!-- Object header -->
  23.       <td colspan="4">
  24.         <h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
  25.         <img src="hline_gray"/>
  26.       </td>
  27.     </tr>
  28.     <tr>
  29.       <!-- Diagram image -->
  30.       <td>
  31.         <img src="EE4E9A06-A28C-4fd1-BEAE-9B751D52DCE8" align="left"/>
  32.       </td>
  33.       <!-- properties list -->
  34.       <td>
  35.         <table border="0" cellspacing="0" cellpadding="0">
  36.           <xsl:call-template name="PropCell">
  37.             <xsl:with-param name="PropName" select="string('PROPID_HDM_DISKNAME')"/>
  38.           </xsl:call-template>
  39.           
  40.           <xsl:call-template name="PropCell">
  41.         <xsl:with-param name="PropName" select="string('PROPID_HDM_VOLUMELABEL')"/>
  42.             <xsl:with-param name="CheckFSName" select="boolean(1)"/>
  43.       </xsl:call-template>
  44.           
  45.           <xsl:call-template name="PropCell">
  46.             <xsl:with-param name="PropName" select="string('PROPID_HDM_TYPESTRING')"/>
  47.           </xsl:call-template>
  48.  
  49.           <xsl:call-template name="PropCell">
  50.             <xsl:with-param name="PropName" select="string('PROPID_HDM_FSNAME')"/>
  51.           </xsl:call-template>
  52.  
  53.           <xsl:call-template name="PropCell">
  54.             <xsl:with-param name="PropName" select="string('PROPID_HDM_ROOTSIZE')"/>
  55.             <xsl:with-param name="CheckNull" select="boolean(1)"/>
  56.           </xsl:call-template>
  57.  
  58.           <xsl:call-template name="PropCell">
  59.             <xsl:with-param name="PropName" select="string('PROPID_HDM_BOOTSIZE')"/>
  60.             <xsl:with-param name="CheckNull" select="boolean(1)"/>
  61.           </xsl:call-template>
  62.  
  63.           <xsl:call-template name="PropCell">
  64.             <xsl:with-param name="PropName" select="string('PROPID_HDM_CLUSTERSIZE')"/>
  65.             <xsl:with-param name="CheckNull" select="boolean(1)"/>
  66.           </xsl:call-template>
  67.  
  68.         </table>
  69.       </td>
  70.  
  71.       <td>
  72.         <table border="0" cellspacing="0" cellpadding="0">
  73.           <xsl:call-template name="PropCell">
  74.             <xsl:with-param name="PropName" select="string('PROPID_HDM_SERIALNUMBER')"/>
  75.             <xsl:with-param name="CheckFSName" select="boolean(1)"/>
  76.           </xsl:call-template>
  77.  
  78.           <xsl:call-template name="PropCell">
  79.             <xsl:with-param name="PropName" select="string('PROPID_HDM_PARTITIONIDSTRING')"/>
  80.           </xsl:call-template>
  81.  
  82.           <xsl:call-template name="PropCell">
  83.             <xsl:with-param name="PropName" select="string('PROPID_HDM_NTFSVERSIONSTRING')"/>
  84.             <xsl:with-param name="CheckNull" select="boolean(1)"/>
  85.           </xsl:call-template>
  86.  
  87.           <xsl:call-template name="PropCell">
  88.             <xsl:with-param name="PropName" select="string('PROPID_HDM_SIZESTRING')"/>
  89.           </xsl:call-template>
  90.  
  91.           <xsl:call-template name="PropCell">
  92.             <xsl:with-param name="PropName" select="string('PROPID_HDM_DATASIZESTRING')"/>
  93.             <xsl:with-param name="CheckFSName" select="boolean(1)"/>
  94.           </xsl:call-template>
  95.  
  96.           <xsl:call-template name="PropCell">
  97.             <xsl:with-param name="PropName" select="string('PROPID_HDM_FREESIZESTRING')"/>
  98.             <xsl:with-param name="CheckFSName" select="boolean(1)"/>
  99.           </xsl:call-template>
  100.           
  101.           <xsl:call-template name="PropCell">
  102.             <xsl:with-param name="PropName" select="string('PROPID_HDM_ISPARTBOOTABLESTR')"/>
  103.           </xsl:call-template>
  104.  
  105.           <xsl:call-template name="PropCell">
  106.             <xsl:with-param name="PropName" select="string('PROPID_HDM_ISPARTHIDDENSTR')"/>
  107.           </xsl:call-template>
  108.         </table>
  109.       </td>
  110.       <td width='100%'>
  111.        
  112.       </td>
  113.     </tr>
  114.     <tr>
  115.       <!-- Divider line -->
  116.       <td colspan='4'>
  117.         <img src="hline_gray"/>
  118.       </td>
  119.     </tr>
  120.   </table>
  121.   
  122.   <!-- Command hyperlinks -->
  123.   <xsl:call-template name="CommandTable"/>
  124.  
  125. </html>  
  126. </xsl:template>
  127.  
  128. </xsl:stylesheet>
  129.